﻿using UTable.Core.Windows;

namespace UTable.Core.Input
{
    /// <summary>
    /// Interface for input device provider(e.g. mouse, finger etc.)
    /// </summary>
    public interface IInputProvider
    {
        /// <summary>
        /// Event be triggered when receive input
        /// </summary>
        event InputEventHandler InputTriggered;

        /// <summary>
        /// Invoked when created
        /// </summary>
        /// <param name="context">The root application</param>
        void Initialize(UApplication context);
    }
}
